package com.shenchuangit.webprintclient.print;

import javax.print.attribute.Attribute;
import javax.print.attribute.PrintRequestAttribute;
import javax.print.attribute.Size2DSyntax;

public class CustomMediaSize extends Size2DSyntax implements PrintRequestAttribute {
    public CustomMediaSize(float x, float y, int units) {
        super(x, y, units);
    }

    public CustomMediaSize(int x, int y, int units) {
        super(x, y, units);
    }

    @Override
    public Class<? extends Attribute> getCategory() {
        return CustomMediaSize.class;
    }

    @Override
    public String getName() {
        return "custom-media-size";
    }
}
